json

type json

A JSON (JavaScript Object Notation) datatype.

JSON values are created from text and support conversion to GTV via gtv.from_json(). They can be stored in the database as an entity attribute.

JSON values in Rell are represented internally with text, which has been validated as legal JSON.

Since

0.6.0

See also

Constructors

Link copied to clipboard
pure constructor(value: text)

Construct a JSON value from text.

Functions

Link copied to clipboard
(alias) pure function str(): text

Convert this JSON value to text.

Alias
Link copied to clipboard
pure function to_text(): text

Convert this JSON value to text.